package com.jfcloud.mall.product.domain.dto;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jfcloud.mall.product.domain.JfcloudProductSku;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ProductSkuVo {
	
	@ApiModelProperty(value = "商品规格")
	private List<JfcloudProductSku> productSkus;
	
	@ApiModelProperty(value = "ID")
	private Long id;
	
	@ApiModelProperty(value = "商品名称")
	private String name;
	
	@ApiModelProperty(value = "商品描述")
	private String description;
	
	@ApiModelProperty(value = "商品图片")
	private String picture;
	
	@ApiModelProperty(value = "商品价格")
	private BigDecimal price;
	
	@ApiModelProperty(value = "商品状态 1:上架 0:未上架 2:已下架")
	private Integer status;
	
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;
	
	@ApiModelProperty(value = "修改时间")
	private LocalDateTime updateTime;
	
	@JsonIgnore
	@ApiModelProperty(value = "删除标记")
	private Integer isDelete;
	
	@ApiModelProperty(value = "商品类型名")
	private String typeName;
}
